import { _decorator, Component, Node, UITransform, view } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('setBg')
export class setBg extends Component {
    start() {
        this.node.getComponent(UITransform).setContentSize(view.getVisibleSize())
    }

    update(deltaTime: number) {
        
    }
}

